package com.zhouyong.joggle.impl;

import com.zhouyong.joggle.UserService;
import com.zhouyong.domain.response.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;

/**
 * @author 99Savage
 * @date 2023/3/17 10:27
 */
@Slf4j
@Service
public class IUserService implements UserService{
    @Override
    public String eat(String name) {
        return "[" + name + "]在eat";
    }

    @Override
    public Result<?> listen() {
        return new Result<>(HttpStatus.OK.value(), "listen to music", "success");
    }
}
